package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.core.datascope.DataScope;
import com.stylefeng.guns.modular.system.model.Article;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 *
 * @author lizhiguo123
 * @since 2018-04-11
 */
public interface ArticleMapper extends BaseMapper<Article> {
    /**
     * 根据条件查询文章列表
     */
    List<Map<String, Object>> selectArticles(@Param("dataScope") DataScope dataScope,@Param("title") String title);

}
